package com.zn.util;

import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class StringToSet {

    public static Set getSet(String str){
        String[] split = str.split(",");
        List<String> strings = Arrays.asList(split);
        Set set = new HashSet(strings);
        return set;
    }

}
